package com.bjtu.ptsite;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 *
 * @author Zehao Wang, Junjie Zhang, Yutao Wei
 *
 */
@EnableScheduling
@ServletComponentScan
@SpringBootApplication
@MapperScan({"com.bjtu.ptsite.model" ,"com.bjtu.ptsite.mapper"})
public class PtSiteApplication {

    public static void main(String[] args) {
        SpringApplication.run(PtSiteApplication.class, args);
    }

}
